﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddtoWatchList.aspx.cs" Inherits="AddtoWatchList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>:: Construction Bid Online ::</title>
    <link rel="stylesheet" href="css/main_model.css" />
<script language="javascript" type="text/javascript">

function refreshandclose()
{
window.setTimeout('window.close();', 500);
top.location.reload()
}
</script>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true">
        </telerik:RadWindowManager>
        
    <asp:Panel ID="pnladdtowatchlist" runat="server" Visible="true">

    <h1 class="pagetile">Add job to your watch list.</h1>

    <div class="model_box">
<div class="model_top"></div>
<div class="model_mid">
  
    <div class="model_row">
  	<div class="model_col1"><asp:Label ID="Label1" runat="server" Text="Job ID"></asp:Label></div>
  	<div class="model_col2"><asp:TextBox ID="txtjobid" runat="server" Text="" Enabled="false"></asp:TextBox>
  </div>
  </div>
  
 
  
  <div class="model_row">
  	<div class="model_col1"><asp:Label ID="Label2" runat="server" Text="Comment (Optional) "></asp:Label></div>

  </div>
  
  <div class="model_txtarea">
      <asp:TextBox ID="txtcomment" runat="server" CssClass="model_tarea" TextMode="MultiLine" ></asp:TextBox>
  </div>

  
  
  <div >
  	<asp:Label CssClass="model_msg" ID="lblerror" runat="server" Text="" Visible="false"></asp:Label>
  </div>
  <div class="model_row">
  	<div class="model_col1"></div>

  	<div class="model_btn" runat="server" id="divbuttons" visible="true">
            <asp:ImageButton ID="btnAWLSubmit" CssClass="model_submit" runat="server" 
            src="images/trans.gif" onclick="btnAWLSubmit_Click" ValidationGroup="All" />
            
            <asp:ImageButton ID="btnAWLCancel" CssClass="model_cancel" runat="server" 
            src="images/trans.gif" onclick="btnAWLCancel_Click" />
    </div>
  </div>
</div>
<div class="model_bttm"></div>

</div>
      </asp:Panel>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    <asp:Panel ID="pnllogin" runat="server" Visible="true">

    <h1 class="pagetile">Login Required</h1>

    <div class="model_box">
<div class="model_top"></div>
<div class="model_mid">
  <div class="model_msg">
        Before adding this job to your watch list, please login to ConstructionBidOnline.
  </div>
  
  
  <div class="model_row">
  	<div class="model_col1"><asp:Label ID="Label3" runat="server" Text="User Name"></asp:Label></div>
  	<div class="model_col2"><asp:TextBox ID="txtUserName"  runat="server" ></asp:TextBox>
  	<div class="model_error">
  	<asp:RequiredFieldValidator ID="RequiredFieldValidator3" ValidationGroup="AllL" runat="server" ControlToValidate="txtUserName" Display="Dynamic" ErrorMessage=" * User Name Required" />
          
  	</div> 
  </div>
  </div>
  
  
  <div class="model_row">
  	<div class="model_col1"><asp:Label ID="Label4" runat="server" Text="Password"></asp:Label></div>
  	<div class="model_col2"><asp:TextBox ID="txtpassword"  runat="server" TextMode="Password" ></asp:TextBox>
  	<div class="model_error">
  	<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ValidationGroup="AllL" ControlToValidate="txtpassword" Display="Dynamic" ErrorMessage=" * Password Required" />
  	</div> 
  </div>
  </div>
  
  
  <div >
  	<asp:Label CssClass="model_msg" ID="lblloginerror" runat="server" Text="" Visible="false"></asp:Label>
  </div>
  <div class="model_row">
  	<div class="model_col1"></div>

  	<div class="model_btn" runat="server" id="divloginbuttons" visible="true">
            <asp:ImageButton ID="bttnLoginSubmit" CssClass="model_submit" runat="server" 
            src="images/trans.gif" ValidationGroup="All" onclick="bttnLoginSubmit_Click" />
            <div class="model_cancel" onclick="javascript: window.opener=null; window.close()" ></div>
    </div>
  </div>
</div>
<div class="model_bttm"></div>

</div>
      </asp:Panel>
    
    
    
    
    
    
    
    </form>
</body>
</html>
